package com.itHsuSE.demo2;

public class Work7 {

}

class Dog{
    int age;
    String name;
    String color;
    public Dog(int age,String name,String color){
        this.age=age;
        this.color=color;
        this.name=name;
    }
    public void show(){
        System.out.println("age:"+this.age+" name:"+this.name+" color:"+this.color);
    }
}
